{%- extends "editorModal.html" -%}
{%- import "apostrophe-schemas:macros.html" as schemas -%}

{%- block modalClass -%}
  apos-pieces-editor apos-pieces-create {{ data.options.name | css }}-editor apos-ui-modal-no-sidebar apos-ui-modal-has-tabs apos-modal-slideable
{%- endblock -%}

{%- block controls -%}
  {{ module.createControls() }}
{%- endblock -%}

{%- block label -%}
  {{ __ns('apostrophe', 'Create %s', data.options.label) }}
{%- endblock -%}

{%- block instructions -%}
  {{ __ns('apostrophe', 'Fill out the fields to add a new %s.', data.options.label | d(''))}}
{%- endblock -%}
